/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.sbbs.cdi.bean.discovery;

import javax.ejb.Stateless;
import javax.inject.Inject;
import javax.inject.Named;

/**
 *
 * @author Mr.fdc <fdc_messenger@126.com>
 */
@Stateless
public class GreetingServiceEjb implements GreetingService {

    @Inject
//    @Named("simpleGreeting")
    @Simple
    Greeting bean;

    public String greet(String name) {
        return bean.greet(name);
    }
}
